package com.ufgov.agcfs.baseData.entity;

import java.io.Serializable;


public class ReportType implements Serializable {
	private static final long serialVersionUID = 1L;

	private String nd;
	private String reportType;
	private String reportTypeName;
	private Integer seqNo;

	public ReportType() {
	}
	
	public String getNd() {
		return this.nd;
	}
	
	public void setNd(String nd) {
		this.nd = nd;
	}
	
	public String getReportType() {
		return reportType;
	}

	public void setReportType(String reportType) {
		this.reportType = reportType;
	}

	public String getReportTypeName() {
		return reportTypeName;
	}

	public void setReportTypeName(String reportTypeName) {
		this.reportTypeName = reportTypeName;
	}

	public Integer getSeqNo() {
		return seqNo;
	}

	public void setSeqNo(Integer seqNo) {
		this.seqNo = seqNo;
	}

	public boolean equals(Object other) {
		if (this == other) {
			return true;
		}
		if (!(other instanceof ReportType)) {
			return false;
		}
		ReportType castOther = (ReportType)other;
		return 
			this.nd.equals(castOther.nd)
			&& this.getReportType().equals(castOther.getReportType());
	}

	public int hashCode() {
		final int prime = 31;
		int hash = 17;
		hash = hash * prime + this.nd.hashCode();
		hash = hash * prime + this.getReportType().hashCode();
		
		return hash;
	}

}